if Variable MDAC28SP1 Equals FALSE
  Set Variable CONTINUEANYWAY to 
  Set Variable PROGRESSTEXT to Installing MDAC Refresh 2.8 Service Pack 1
  Set Variable PROGRESSMODE to MARQUEE
  Check/Install MDAC Refresh (install v2.81, get result into variable MDAC28SP1)
  Set Variable PROGRESSMODE to 
  if Variable MDAC28SP1 Equals REBOOT
    MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. You will have to run setup again at a later time to install $TITLE$.
    if Variable REBOOTNOW Equals OK
      Reboot Computer and Resume Setup
    else
      Terminate Installation
    end
  else
    if Variable MDAC28SP1 not Equals SUCCESS
      MessageBox: $TITLE$ Setup, MDAC Refresh 2.8 Service Pack 1 installation failed. Please use Windows Update to manually install this update on your system.$NEWLINE$$NEWLINE$Would you like to continue installing $TITLE$ Setup ?
      if Variable CONTINUEANYWAY Equals NO
        Terminate Installation
      end
    end
  end
end
 
